import Vue from 'vue'
import App from './App.vue'
import router from './router'
import '@/assets/css/reset.css'
import '@/assets/font/iconfont.css'
import rem from './assets/js/rem'
import './assets/css/style.css'
import vant from 'vant'
import 'vant/lib/index.css'
Vue.use(vant)
Vue.config.productionTip = false
// resize 窗口大小发生变化时触发的事件
rem(750)
window.addEventListener('resize', function() {
  rem(750)
})
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
